package com.jic.market.response.manager.base;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.jic.market.request.PromotionMemberGradeRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: gaolanyu
 * @date: 2020-03-10
 * @remark:
 */
@Data
public class BaseActivityResponse implements Serializable {
    private static final long serialVersionUID = -8103118062092386163L;
    @ApiModelProperty(notes = "Id")
    private Long id;
    @ApiModelProperty(notes = "活动Id")
    private String promotionId;
    @ApiModelProperty(notes = "活动Code")
    private String promotionCode;
    @ApiModelProperty(notes = "活动类型 类型:1单一促销,2满量促销,3满额促销,4秒杀,5赠送类促销,6组合促销7.单品X件优惠,8换购,9预售,11优惠券")
    private String promType;

    @ApiModelProperty(notes = "促销类型,比如单一促销1 单一促销下的促销类型为1001 特价促销 1002折扣促销,优惠券抽奖没有促销类型则补00promType1100")
    private String frontPromType;

    @ApiModelProperty(notes = "活动名称")
    private String promName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(notes = "活动开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(notes = "活动结束时间")
    private Date endTime;

    @ApiModelProperty(notes = "活动标签")
    private String label;

    @ApiModelProperty(notes = "活动标签")
    private String labelName;

    @ApiModelProperty(notes = "店铺地区code码")
    private List<String> storeArea;

    @ApiModelProperty(notes = "用户地区code码")
    private List<String> userArea;

    @ApiModelProperty(notes = "是否包邮 抽奖 优惠券 红包 填-1 0否 1是")
    private String parcelsFlag;

    @ApiModelProperty(notes = "是否成本分摊 0否 1是")
    private String costAllocationFlag;

    @ApiModelProperty(notes = "母平台比例")
    private String parentAllocationScale;

    @ApiModelProperty(notes = "子平台比例")
    private String childAllocationScale;

    @ApiModelProperty(notes = "商家比例")
    private String merchantAllocationScale;

    @ApiModelProperty(notes = "店铺比例")
    private String storeAllocationScale;

    @ApiModelProperty(notes = "使用渠道码")
    private List<String> channelCodes;

    @ApiModelProperty(notes = "用户类型 0全部 1新用户 2老用户")
    private String proUserType;

    @ApiModelProperty(notes = "会员类型")
    private List<String> proMemberType;

    @ApiModelProperty(notes = "会员等级")
    private List<String> proMemberLevel;

    @ApiModelProperty(notes = "备注")
    private String remark;

    @ApiModelProperty(notes = "中文描述")
    private String chineseDesc;

    @ApiModelProperty(notes = "描述")
    private String description;

    @ApiModelProperty(notes = "英文描述")
    private String englishDesc;

    @ApiModelProperty(value = "status", name = "status", notes = "// 活动状态 1 待提交  2 待审核  3未开始 4 审核不通过  5 进行中  6 已过期  7 已关闭")
    private String status;

    @ApiModelProperty(notes = "创建人姓名")
    private String creatorName;

    @ApiModelProperty(notes = "是否可编辑")
    private Boolean editFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(notes = "会员类型集合")
    private String memTypes;

    @ApiModelProperty(notes = "会员等级")
    List<PromotionMemberGradeRequest> promotionMemberGradeList;
    @ApiModelProperty("渠道id")
    private String channelId;
}
